package com.ant.storage.pojo;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;

import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author melon
 * @since 2023-11-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("house_settlement")
@ApiModel(value = "HouseSettlement对象", description = "")
public class HouseSettlement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "合同id")
    @TableField("parent_id")
    private Integer parentId;

    @ApiModelProperty(value = "账户id")
    @TableField("house_account_id")
    private Integer houseAccountId;

    @ApiModelProperty(value = "开始海事局")
    @TableField("start_time")
    private Date startTime;

    @ApiModelProperty(value = "截止时间")
    @TableField("end_time")
    private Date endTime;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "支付月份")
    @TableField("payment_month")
    private String paymentMonth;

    @ApiModelProperty(value = "支付月份")
    @TableField("payment")
    private Integer payment;

    @ApiModelProperty(value = "凭证")
    private String annex;

    @ApiModelProperty(value = "税点")
    @TableField("tax_points")
    private String taxPoints;

    @ApiModelProperty(value = "递增比列")
    private String increase;

    @ApiModelProperty(value = "凭证")
    @TableField(exist = false)
    private List<PurchaserRecordImg> annexList;

    @ApiModelProperty(value = "经办人")
    @TableField("handled_by")
    private String handledBy;

    @ApiModelProperty(value = "支付时间")
    @TableField("payment_time")
    private Date paymentTime;

    @ApiModelProperty(value = "是否报销0 未报销 1 已报销 2 作废")
    private Integer reimburse;

    @ApiModelProperty(value = "钉钉返回审核id")
    @TableField("process_instance_id")
    private String processInstanceId;

    @ApiModelProperty(value = "钉钉审核状态 0 审核中  1 通过 2 拒绝")
    @TableField("audits_status")
    private Integer auditsStatus;

    @TableField("create_by")
    private String createBy;

    @TableField("create_time")
    private Date createTime;


}
